package com.hspedu.poly.polyparameter_;

public class PolyParameter {
    public static void main(String[] args) {
        Gen_Staff tom = new Gen_Staff("Tom", 2500);
        Manager milan = new Manager("milan", 5000, 10000);
        Test test = new Test();
        System.out.println(test.showEmpAnnual(tom));
        System.out.println(test.showEmpAnnual(milan));
        test.testWork(tom);
        test.testWork(milan);
    }
}
